package org.ix.gateway.route.presentation.entity;

import org.ix.gateway.route.model.BaseEntity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 网关路由实体
 *
 * @author 郗世豪（rarexixi@sina.com）
 */
@Getter
@Setter
@ToString
public class GatewayRouteEntity extends BaseEntity {

    /**
     * 路由id
     */
    private String id;

    /**
     * 转发目标uri
     */
    private String uri;

    /**
     * 断言集合JSON
     */
    private String predicates;

    /**
     * 过滤器集合JSON
     */
    private String filters;

    /**
     * Metadata
     */
    private String metadata;

    /**
     * 路由执行顺序
     */
    private Integer routeOrder;
}
